Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove IntelliJ project files #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

thatlittlegit
Copy link
Collaborator

Referring to the following:

https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems

There's two types of files here:

  • .iml files, which we don't need (we're a Maven-based project)

  • .idea/... files, which it does recommend sharing

This removes all of them. Why? (a) It makes the project less IDE-independent, since we have IntelliJ files in the repo; (b) they cause annoyance when something changes for no good reason; (c) given the Maven configuration in pom.xml, it should autogenerate anyways.

As such, remove them and add them to the gitignore. If this becomes a problem, we can just allow them back in.


Possible problems with this:

  • This will probably delete your Brainsweep-specific configuration, meaning you'll either have to back it up or set it up again after.
  • This does go against what JetBrains recommends, so there could be some hidden problem with it.

However, IntelliJ does seem able to regenerate everything, which is why I'm not too worried.

Referring to the following:

https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems

There's two types of files here:

* .iml files, which we don't need (we're a Maven-based project)

* .idea/... files, which it does recommend sharing

This removes all of them. Why? (a) It makes the project less
IDE-independent, since we have IntelliJ files in the repo; (b) they
cause annoyance when something changes for no good reason; (c) given the
Maven configuration in pom.xml, it should autogenerate anyways.

As such, remove them and add them to the gitignore. If this becomes a
problem, we can just allow them back in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant